#ifndef WATCHPOINT_H__
#define WATCHPOINT_H__

#include "common.h"
#include <stdlib.h>

typedef struct watchpoint {
    int NO;
    struct watchpoint *next;
    char *exp;
    uint32_t value;
} WP;

WP *new_wp();
void free_wp(WP *wp);
void free_wp_no(int no);
void list_used_wps();
bool check();

#endif
